import request from "@/utils/request.js"

// 根据字典类型查询字典数据信息
export function getDictsApi(dictType) {
  return request({
    url: `/system/dict/data/type/${dictType}`,
    method: "get",
  });
}

// 根据字典类型查询字典数据信息
export function getAreaList(query) {
  return request({
    url: `/system/area/selectSysAreas?pid=${query.pid}`,
    method: "get",
  });
}